home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 18 / CU Amiga Magazine's Super CD-ROM 18 (1997)(EMAP Images)(GB)[!][issue 1998-01].iso / CUCD / Magazine / UltimateWB / PowerWB / install < prev    next >
Text File  |  1997-10-09  |  2KB  |  84 lines

  1.  
  2. (set #MSG_WELCOME "Welcome to the installation script for PowerWB.\n\nNOTE: you don't need to install PowerWB in order to use it. Before installing it you should better do some tests to see if it's working correctly (remember: this is only V0.6!)")
  3. (set #MSG_ASKEXE "Where do you want to copy the PowerWB executable?")
  4. (set #MSG_ASKHELP "Where do you want to copy the documentation (Amigaguide)?")
  5. (set #MSG_COPY_EXE "Copying executable")
  6. (set #MSG_COPY_HELP "Copying documentation")
  7. (set #MSG_USERSTART "Adding the following line to your s:user-startup:\n\n%s")
  8. (set #MSG_CHANGING_US "Changing user-startup")
  9. (set #MSG_ICONPOS "Correcting (UnSnapshot) icon position of %s")
  10. (set #MSG_DONE "Installation complete!\n\nNOTE: The \"Images\" directory has not been copied onto your HD, so do that by hand if you want or at least have a look at the pictures in this directory!\n\n")
  11. (set #MSG_DONE2 "Have a lot of fun with PowerWB and don't forget that it is Shareware!")
  12. (set #MSG_NOHELP "No help available. Sorry!")
  13.  
  14.  
  15.  
  16.  
  17. (welcome #MSG_WELCOME)
  18.  
  19. (set #exedest
  20.     (askdir
  21.         (prompt #MSG_ASKEXE)
  22.         (default "sys:tools/commodities")
  23.         (help #MSG_NOHELP)
  24.     )
  25. )
  26.  
  27. (set @default-dest #exedest)
  28.  
  29. (set #helpdest
  30.     (askdir
  31.         (prompt #msg_ASKHELP)
  32.         (default "HELP:")
  33.         (help #MSG_NOHELP)
  34.     )
  35. )
  36.  
  37. (copyfiles
  38.     (prompt #MSG_COPY_EXE)
  39.     (source "")
  40.     (choices "PowerWB" "PowerWB.info")
  41.     (dest #exedest)
  42.     (confirm)
  43.     (help #MSG_NOHELP)
  44. )
  45.  
  46. (copyfiles
  47.     (prompt #MSG_COPY_HELP)
  48.     (source "")
  49.     (choices "PowerWB.guide" "PowerWB.guide.info")
  50.     (dest #helpdest)
  51.     (confirm)
  52.     (help #MSG_NOHELP)
  53. )
  54.  
  55. (set #startline ("run <>NIL: \"%s\"" (tackon #exedest "PowerWB")))
  56.  
  57. (message
  58.     (#MSG_USERSTART #startline)
  59.     (help #MSG_NOHELP)
  60. )
  61.  
  62. (startup "PowerWB"
  63.     (prompt #MSG_CHANGING_US)
  64.     (help #MSG_NOHELP)
  65.     (confirm)
  66.     (command #startline)
  67. )
  68.  
  69. (run ("noiconpos \"%s\"" (tackon #exedest "PowerWB"))
  70.     (prompt (#MSG_ICONPOS "executable"))
  71.     (help #MSG_NOHELP)
  72.     (confirm)
  73. )
  74.  
  75. (run ("noiconpos \"%s\"" (tackon #helpdest "PowerWB.guide"))
  76.     (prompt (#MSG_ICONPOS "documentation"))
  77.     (help #MSG_NOHELP)
  78.     (confirm)
  79. )
  80.  
  81. (exit #MSG_DONE #MSG_DONE2
  82.     (quiet)
  83. )
  84.